package src.Note.Note9;

/**
 * @Author： 20192315裴湘瑞
 * @Date: 2020/11/15 17:58
 * @Version: 1.0
 * @Target：实例化手机
 * @Requirement：
 */
public class one {
    public static void main(String[] args) {
        Phone one = new Phone();
        System.out.println(one.brand);
        System.out.println(one.price);
        System.out.println(one.color);

        System.out.println("=================");

        one.brand = "iPhone12ProMax 5G 512G";
        one.color = "black";
        one.price = 12888;
        System.out.println("手机品牌是：" + one.brand);
        System.out.println("手机颜色是：" + one.color);
        System.out.println("手机价格是：" + one.price);

        System.out.println("=================");

        one.call("Ernst");
        one.sendMessage();
    }
}
